package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasLocDao;
import com.efast.dmom.mgmt.entity.master.TmBasLoc;
import com.efast.dmom.mgmt.service.master.TmBasLocService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasLocServiceImpl implements TmBasLocService{
    @Autowired
    private TmBasLocDao tmBasLocDao;
    @Override
    public long getTmBasLocRowCount(Assist assist){
        return tmBasLocDao.getTmBasLocRowCount(assist);
    }
    @Override
    public List<TmBasLoc> selectTmBasLoc(Assist assist){
        return tmBasLocDao.selectTmBasLoc(assist);
    }
    @Override
    public TmBasLoc selectTmBasLocByObj(TmBasLoc obj){
        return tmBasLocDao.selectTmBasLocByObj(obj);
    }
    @Override
    public TmBasLoc selectTmBasLocById(Integer id){
        return tmBasLocDao.selectTmBasLocById(id);
    }
    @Override
    public int insertTmBasLoc(TmBasLoc value){
        return tmBasLocDao.insertTmBasLoc(value);
    }
    @Override
    public int insertNonEmptyTmBasLoc(TmBasLoc value){
        return tmBasLocDao.insertNonEmptyTmBasLoc(value);
    }
    @Override
    public int insertTmBasLocByBatch(List<TmBasLoc> value){
        return tmBasLocDao.insertTmBasLocByBatch(value);
    }
    @Override
    public int deleteTmBasLocById(Integer id){
        return tmBasLocDao.deleteTmBasLocById(id);
    }
    @Override
    public int deleteTmBasLoc(Assist assist){
        return tmBasLocDao.deleteTmBasLoc(assist);
    }
    @Override
    public int updateTmBasLocById(TmBasLoc enti){
        return tmBasLocDao.updateTmBasLocById(enti);
    }
    @Override
    public int updateTmBasLoc(TmBasLoc value, Assist assist){
        return tmBasLocDao.updateTmBasLoc(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasLocById(TmBasLoc enti){
        return tmBasLocDao.updateNonEmptyTmBasLocById(enti);
    }
    @Override
    public int updateNonEmptyTmBasLoc(TmBasLoc value, Assist assist){
        return tmBasLocDao.updateNonEmptyTmBasLoc(value,assist);
    }

    public TmBasLocDao getTmBasLocDao() {
        return this.tmBasLocDao;
    }

    public void setTmBasLocDao(TmBasLocDao tmBasLocDao) {
        this.tmBasLocDao = tmBasLocDao;
    }

}